574d7e9cbd8eb61db008dbbee006f91d8701738e,auth0/src/test/java/com/auth0/android/authentication/AuthenticationAPIClientTest.java,AuthenticationAPIClientTest,shouldHaveHttpLoggingDisabledByDefault,#,201

Before Change


        List list = mock(List.class);
        when(okClient.interceptors()).thenReturn(list);

        ArgumentCaptor<Interceptor> interceptorCaptor = ArgumentCaptor.forClass(Interceptor.class);
        new AuthenticationAPIClient(account, factory, okClient);

        verify(okClient).interceptors();
        verify(list).add(interceptorCaptor.capture());

        assertThat(interceptorCaptor.getValue(), is(notNullValue()));
        assertThat(interceptorCaptor.getValue(), is(instanceOf(HttpLoggingInterceptor.class)));

After Change


        new AuthenticationAPIClient(account, factory, okClient);

        verify(okClient, never()).interceptors();
        verify(list, never()).add(any(Interceptor.class));
    }

    @Test